<?php 
$user = ServiceFactory::get("AuthenticationService") -> getCurrentUser();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  dir="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Now!chat - Quản lý user</title>
    <link rel='stylesheet' href='css/global.css' type='text/css' />
    <link rel='stylesheet' href='css/admin.css' type='text/css' />
    <script src="js/forms.js" type="text/javascript"></script>
    <script src="js/jquery.js" type="text/javascript"></script>
</head>
<body>
<div id="wrap">
<div id="content">
<div id="head">
    <h1><a href="../">now!chat</a></h1>
</div>
<div id="userInfo"><p>Xin chào <a href="./profile.php"><?php echo $user->getNickname(); ?></a>! | <a href="./logout.php" title="Log Out">Thoát</a></p></div>
